Tootsville::Endpoint-Get-/ World/ Clock/ Time→Json

Function

Endpoint-Get-/ World/ Clock/ Time→Json names a function, with lambda list NIL:

Get the date & time on Chœrogryllum as a JSON structure.

The returned object will have the following keys:

sec
Seconds into the minute
min
Minutes into the hour
hour
Hour of the day
day
Day of the month
month
Month of the year
year
Year
weekday
Day of the week (numeric)
otherMonthDay
Day of the Other Moon month
pinkMonthDay
Day of the Pink Moon month
julian
Julian day
julian360
Julian day of the year
holiday
Name of any holiday that occurs on this day

Web Service Endpoint

This is a web service endpoint accessed by the HTTP method GET at the URI template /world/clock/time. It returns a content-type of application/json.

There are no URI parameters.

It will report a slow response if it takes longer than 0.03 seconds (30 milliseconds) to complete.

File

Defined in file src/endpoints/slash-world.lisp.